package com.yanjiali.model.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Package: com.yanjiali.com.yanjiali.com.yanjiali.model.resp
 * @Author: yanjiali
 * @Created: 2025/4/18 14:53
 * 这个响应没有对应的req类，因为是get直接id请求
 */
@Data
@ApiModel("通过id获取文章无需作者响应参数")
public class GetByIdArticleNoNeedAuthorResp {

    @ApiModelProperty(value="文章标题")
    private String title;

    @ApiModelProperty(value = "文章封面")
    private String cover;

    @ApiModelProperty(value="文章内容")
    private String content;

    @ApiModelProperty(value="文章点赞数")
    private Long likeNum;

    @ApiModelProperty(value="文章收藏数")
    private Long collectNum;

    @ApiModelProperty(value="文章创建者")
    private String createBy;

    @ApiModelProperty(value="文章创建时间")
    private Date createTime;
}
